<template>
  <el-dialog
    title="导入excel"
    :visible.sync="dialogVisible"
    width="30%"
    :before-close="handleClose">
    <div class="upload">
      <el-upload
        :key="keyUpload"
        action
        ref="upload"
        :limit="6"
        :on-preview="handlePictureCardPreview"
        :before-remove="handleRemove"
        :http-request="excel_up"
        :file-list="certificatePath"
        name="imageContent"
      >
        <el-button solt="solt" size="small" type="primary">点击上传</el-button>
      </el-upload>
    </div>
    <span slot="footer" class="dialog-footer">
    <el-button @click="dialogVisible = false">取 消</el-button>
    <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  </span>
  </el-dialog>
</template>

<script>
export default {
  name: "uploadDialog",
  data(){
    return{
      dialogVisible:true,
      keyUpload:"",
      certificatePath:[]
    }
  },
  methods:{
    handleClose(){},
    handlePictureCardPreview(){},
    handleRemove(){},
    excel_up(){}
  }
}
</script>

<style scoped>

</style>
